package com.aftersale.demo.utils;

import com.aftersale.demo.entity.Project;

import javax.validation.GroupSequence;

/**
 * @author 空
 * @date 2023/10/29 18:27
 * @desc 接口分组校验
 */
public class ValidGroup {


    public interface UserName{}

    public interface PassWord{}

    public interface OldPassWord{}

    public interface Email{}

    public interface RealName{}

    public  interface VerifyCode{}

    public  interface PerName{}

    public interface PerDesc{}

    public  interface ProblemDescription{}

    public  interface State{}

    public interface Evaluate{}

    public interface MaintenanceEffectiveness{}

    public  interface Version{}

    public  interface ProjectName{}

    @GroupSequence({UserName.class, PassWord.class,Email.class,VerifyCode.class,
            PerName.class,PerDesc.class,RealName.class,OldPassWord.class,
            ProblemDescription.class,State.class,Evaluate.class,
            MaintenanceEffectiveness.class,Version.class, ProjectName.class})
    public interface All{}
}
